package com.gdust.gkyx.acl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdust.gkyx.model.acl.Permission;

import java.util.List;

/**
 * ClassName: PermissionService
 * Package: com.gdust.gkyx.acl.service
 * Description:
 *
 * @Author syun
 * @Create 2025/1/24 9:56
 * @Version 1.0
 */
public interface PermissionService extends IService<Permission> {

    /**
     * //查询所有菜单
     * @return
     */
    List<Permission> queryAllPermission();

    /**
     * //递归删除菜单
     * @param id 编号
     */
    void removeChildById(Long id);

}
